<template>
  <a-list  size="large" :pagination="pagination" :data-source="listData">
    <a-list-item slot="renderItem" key="item.title" slot-scope="item, index">
      <template  slot="actions">
      </template>
      <a-list-item-meta>
        <template slot="description">
            <a-checkbox @change="onChange">
              {{item.description}}
            </a-checkbox>
        </template>
      </a-list-item-meta>
    </a-list-item>
  </a-list>
</template>
<script>
  const listData = [];
  for (let i = 0; i < 23; i++) {
    listData.push({
      href: 'https://www.antdv.com/',
      title: `ant design vue part ${i}`,
      avatar: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
      description:
              'Ant Design, a design language for background applications, is refined by Ant UED Team.',
      content:
              'We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently.',
    });
  }

  export default {
    data() {
      return {
        listData,
        pagination: {
          onChange: page => {
            console.log(page);
          },
          pageSize: 3,
        },
        actions: [
          { type: 'star-o', text: '156' },
          { type: 'like-o', text: '156' },
          { type: 'message', text: '2' },
        ],
      };
    },
  };
</script>
<style></style>